<%@ page import="bean.Tail" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Edit</title>
</head>
<body>
  <%
    Tail tail = (Tail)request.getAttribute("tail");
  %>
  <form action='<%=request.getContextPath()%>/tail/edit?flag=<%=tail.getUsername()%>' method='post'>
      username<input type='text' name='username' value='<%=tail.getUsername()%>' ><br>
      password<input type='text' name='password' value='<%=tail.getPassword()%>'><br>
      phone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='text' name='phone' value='<%=tail.getPhone()%>'><br>
      address&nbsp;&nbsp;&nbsp;<input type='text' name='address' value='<%=tail.getAddress()%>'><br>
      <input type='submit' value='保存'>
  </form>
</body>
</html>
